<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<%@ taglib prefix="s" uri="/struts-tags"%>



<html>
	<head>
		<title>Project</title>		
		<link rel="stylesheet" type="text/css" href="${ pageContext.request.contextPath }/css/common.css">
		<link rel="stylesheet" href="${ pageContext.request.contextPath }/css/jquery-ui.css" />
		<script type="text/javascript" src="${ pageContext.request.contextPath }/js/jquery-1.6.2.js"></script>
		<script type="text/javascript" src="${ pageContext.request.contextPath }/js/jquery-ui-1.8.18.custom.min.js"></script>
		<script type="text/javascript">
		$(document).ready(function() {
		    $( "#sttm" ).datepicker({showButtonPanel: true,dateFormat : "yy-mm-dd"});
		    $( "#endtm" ).datepicker({showButtonPanel: true,dateFormat : "yy-mm-dd"});
		});
		</script>
	</head>

	<body>
	<s:form name="createProject" action="createProject" method="POST" theme="simple" enctype="multipart/form-data">
		<fieldset>
				<legend>项目</legend>
				<table id="project_tb" >
					<tr>
						<td>
						<s:label>项目名称：</s:label>
						<s:textfield name="project.name"></s:textfield>
						</td>
					</tr>
					<tr>
						<td>
						<s:label>项目愿景：</s:label>
						<s:textarea name="project.description" rows="4" cols="50"></s:textarea>
						</td>
					</tr>
					<tr>
						<td>
						<s:label>开始时间：</s:label>
						<s:textfield name="project.start_time" id="sttm"></s:textfield>
						</td>
						<td>
						<s:label>结束时间：</s:label>
						<s:textfield name="project.end_time" id="endtm"></s:textfield>
						</td>
					</tr>
					<tr>
						<td>
						<s:label>项目LOGO: </s:label>
					
						<s:file name="image"></s:file>
						
						</td>
					</tr>
					<tr>
						<td>
						<s:submit value="提交"></s:submit>
						</td>
					</tr>
				</table>
		</fieldset>
		</s:form>
	</body>
</html>

 
